package com.shitou.shitoumember;


import com.shitou.shitoumember.feign.SpuFeign;
import com.shitou.shitoumember.utils.IPUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@MapperScan("com.shitou.shitoumember.dao")
@MapperScan("com.shitou.shitoumember.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackageClasses = {SpuFeign.class})
@SpringBootApplication
@RestController
public class ShitouMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShitouMemberApplication.class, args);
    }

}
